package com.ruoyi.project.system.mapper;

import com.ruoyi.project.system.domain.QuestionAnswer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 问题选项Mapper
 */
@Mapper
public interface QuestionAnswerMapper {
    /**
     * 根据问题ID查询选项列表（按sort升序）
     */
    List<QuestionAnswer> selectAnswerByQuestionId(@Param("questionId") Long questionId);
}